
import { defineComponent } from "vue"
import "./index.module.scss"
import { ElButton } from "element-plus"
import apiStore from "@/stores/apiStore"

export default defineComponent({
  name:"commitDetail",
  setup(props, ctx) {
    const { testToken } = apiStore().api
    const test = () => {
      testToken()
    }
    return () => {
      return <div>
        <ElButton type="primary" onClick={test} class="m-left">测token</ElButton>
      </div>
    }
  }
})